from django.test import TestCase

# Create your tests here.
from activity.models import Activity

Activity.objects.all().update(cover="http://127.0.0.1:8080/img/b53a811bb051f81996550406d6b44aed2e73e736.jpg")

a = Activity.objects.get(id =1)

for i in range(2,101):
    a.id =None
    a.name = "黑马程序员自述＿从删库到跑路"+ str(i) + "狱中采访"


